home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
UTILHIVE
/
LHARC114.LZH
/
LZIP13.DOC
< prev
next >
Wrap
Text File
|
1989-03-11
|
4KB
|
84 lines
LZIP - Make the Littlest ZIP - Version 1.3
by S. David Klein
This program is derived from LARC version 1.6, and the source code for that
program was used with the gracious permission of its author, Vernon D. Buerg.
The following is the copyright notice that accompanies LARC and pertains to
this derivative program:
(c) Copyright Vernon D. Buerg 1987-89. All rights reserved.
139 White Oak Circle
Petaluma, CA 94952
VOR BBS: (707) 778-8944
Compuserve: 70007,1212 (Go IBMSYS)
Written in MS Quick Basic, version 2.01, using the ADVBAS
object library by Thomas Hanlin III, 6812 Sydenstricker
Rd., Springfield, VA 22152.
The LARC program and materials may be distributed and copied
with these restrictions:
- no fee is charged,
- the material is not modified.
------------------------------------------------------------------------------
LZIP is designed to process a directory containing ZIP files, or mixed ZIP and
ARC files. The program takes each input file, in ARC or ZIP format, and
tries the -ex flavor of PKZIP (version 0.92) to see if the optimized reduction
will create a smaller overall file. If it does, it replaces the original file
with the newly created file. If the original is smaller, it is not replaced,
unless the /F command line switch is used, in which case the new ZIP will
always be copied over.
Two program modes are available. For those with space to spare, an output
directory is specified, and all newly created (littlest) ZIP files are placed
in that directory. e.g.,
LZIP13 C:\INDIR\*.* D:\OUTDIR
where all files in C:\INDIR will be processed, and all newly created ZIP files
will be placed in D:\OUTDIR. Original files in C:\INDIR will NOT be deleted.
For those with limited disk space (like me), a second program mode is
available. In this mode, the original files will be overlaid with the newly
created ZIP files. e.g.,
LZIP13 C:\INDIR\*.*
If your input directory contains ARC files which ZIP cannot compress more
tightly, they will NOT be replaced, unless you use the force switch. e.g.,
LZIP13 C:\INDIR\*.* /F
This mode forces all ARC files to ZIP files, and ensures that the resulting
ZIPs are the smallest possible; it's also useful if you want to put in
comments, which can result in slightly larger ZIPs. The /F switch makes sure
that your commented ZIP is saved. (To do this, you need to modify the source
to include the -z PKZIP command switch, and, preferably, a comment redirected
from a text file. Several comments in the source code highlight this.)
LZIP produces a report, sent to the screen unless the /R switch is used, which
shows the original files, original file sizes, and the sizes of the files
created by the ZIP variants. It also shows the total number of times that
files have been copied over. When the /R command line switch is used, the
report is sent to a file named LZIP.RPT.
What's the program good for? I use it as in the last example to reprocess all
uploads to the Software Society South. All ARC files become ZIP files, and
all ZIP files are as tightly compressed as possible.
While this program is derived from LARC, questions or comments regarding
LZIP13 should be directed to me, and NOT to Vern Buerg.
The author makes no warranties, either express or implied, with regard to this
program and hereby disclaims any and all implied warranties of merchantability
and fitness for a particular purpose. In no event will the author be liable
for incidental or consequential damages, including, but not limited to,
destruction of data or damage to your equipment.
S. David Klein
The Software Society South PCBoard
(201)214-8896, 1200/2400/9600 HST
Compuserve: 76556,2203 (Go IBMCOM)
3/11/89